/*
This Source Code Form is subject to the terms of the Mozilla Public
License, v. 2.0. If a copy of the MPL was not distributed with this
file, You can obtain one at http://mozilla.org/MPL/2.0/.

Copyright (c) 2023-present Kaleidos INC
*/

/* Social buttons */

@import url("tools/typography.css");

:host {
  align-items: center;
  display: flex;
  flex-direction: column;
  gap: var(--spacing-16);
  inline-size: 100%;
}

.social-login {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-16);
  inline-size: 100%;
}

/* Errors */
.social-error {
  margin-block-start: var(--spacing-16);
}

.login-separator {
  align-items: center;
  display: flex;
  inline-size: 90%;
  justify-content: center;
  position: relative;

  &::after {
    background-color: var(--color-primary);
    block-size: 1px;
    content: "";
    inline-size: 100%;
    inset-block-start: 50%;
    position: absolute;
  }
}

.login-separator-text {
  background-color: var(--color-white);
  padding-block: var(--spacing-8);
  padding-inline: var(--spacing-28);
  z-index: var(--first-layer);
}
